package com.hlingsoft.xinsuo.entity;

import java.util.Date;

/**
 * Created by selbylei on 2015/10/16.
 */
public class Lock {
    private long id;
    private String phone1;    //手机号1
    private String phone2;
    private String devType;   //设备类型
    private long devId;      //设备名
    private String devName;
    private int state;         //状态      0.带加锁 1.加锁 2.申请解锁  3.解锁
    private Date createTime;   //创建时间
    private Date updateTime;   //更新时间
    private Date unlockTime;   //拆锁时间
    private long diffLockDays; //上锁据今多久
    private long diffDays;     //拆锁据今多久

    public long getDiffLockDays() {
        return diffLockDays;
    }

    public void setDiffLockDays(long diffLockDays) {
        this.diffLockDays = diffLockDays;
    }

    public Date getUnlockTime() {
        return unlockTime;
    }

    public void setUnlockTime(Date unlockTime) {
        this.unlockTime = unlockTime;
    }

    public long getDiffDays() {
        return diffDays;
    }

    public void setDiffDays(long diffDays) {
        this.diffDays = diffDays;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDevType() {
        return devType;
    }

    public void setDevType(String devType) {
        this.devType = devType;
    }

    public String getPhone1() {
        return phone1;
    }

    public void setPhone1(String phone1) {
        this.phone1 = phone1;
    }

    public String getPhone2() {
        return phone2;
    }

    public void setPhone2(String phone2) {
        this.phone2 = phone2;
    }


    public long getDevId() {
        return devId;
    }

    public void setDevId(long devId) {
        this.devId = devId;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
